%%{init: {
"flowchart": {
"htmlLabels": true,
"wrap": true,
"useMaxWidth": true,
"padding": 22,
"nodeSpacing": 62,
"rankSpacing": 62
},
"theme": "dark",
"themeVariables": {
"fontSize": "9.5px",
"fontFamily": "Arial, Helvetica, sans-serif"
}
}}%%
flowchart LR
subgraph Path1["Path 1"]
D1[Data] --> F1[gtsummary / crane / cardinal<br/>functions]
F1 --> GO1[gtsummary<br/>object]
GO1 -.->|gather_ard| ARD1[ARD]
GO1 --> R1[reporter]
end
subgraph Path2["Path 2"]
D2[Data] --> A2[cards / cardx<br/>or custom ARD]
A2 --> F2[tbl_ard_*<br/>functions]
F2 --> GO2[gtsummary<br/>object]
GO2 --> R2[reporter]
end
subgraph Path3["Path 3"]
D3[Data] --> A3[cards / cardx<br/>or custom ARD]
A3 --> DM[data manipulation<br/>for final layout]
DM --> R3[reporter]
end
R1 --> OUT[RTF<br/>/ TXT]
R2 --> OUT
R3 --> OUT
style D1 fill:#414558,stroke:#8be9fd,color:#ffffff
style D2 fill:#414558,stroke:#8be9fd,color:#ffffff
style D3 fill:#414558,stroke:#8be9fd,color:#ffffff
style F1 fill:#50fa7b,stroke:#44475a,color:#111111
style F2 fill:#50fa7b,stroke:#44475a,color:#111111
style GO1 fill:#8be9fd,stroke:#44475a,color:#111111
style GO2 fill:#8be9fd,stroke:#44475a,color:#111111
style ARD1 fill:#ffb86c,stroke:#44475a,color:#111111
style A2 fill:#ffb86c,stroke:#44475a,color:#111111
style A3 fill:#ffb86c,stroke:#44475a,color:#111111
style DM fill:#f1fa8c,stroke:#44475a,color:#111111
style R1 fill:#bd93f9,stroke:#44475a,color:#111111
style R2 fill:#bd93f9,stroke:#44475a,color:#111111
style R3 fill:#bd93f9,stroke:#44475a,color:#111111
style OUT fill:#ff79c6,stroke:#44475a,color:#111111